﻿package com.ease.platform.usersession.vo
{
	import com.ease.platform.model.type.IdentityUserSession;
	import com.ease.platform.usercontext.vo.UserContext;

	[Bindable]
	[RemoteClass(alias="com.ease.platform.usersession.vo.UserSessionContext")]
	
	public class UserSessionContext
	{
		public static const TIMEOUT_EXCEPTION:String="timeOutError";
		public static const AUTHENTICATION_ERROR:String="authenticationError";

		private var _userSession:com.ease.platform.model.type.IdentityUserSession;
		private var _userContext:com.ease.platform.usercontext.vo.UserContext;

		public function UserSessionContext()
		{
		}

		public function get userSession():com.ease.platform.model.type.IdentityUserSession
		{
			return _userSession;
		}

		public function set userSession(value:com.ease.platform.model.type.IdentityUserSession):void
		{
			_userSession = value;
		}

		public function get userContext():com.ease.platform.usercontext.vo.UserContext
		{
			return _userContext;
		}

		public function set userContext(value:com.ease.platform.usercontext.vo.UserContext):void
		{
			_userContext = value;
		}
	}
}